#!/user/bin/python
# -*- coding: utf-8 -*-
'''
 @Time    : 2018/5/23 23:29
 @File    : entity.py
 @desc    :
'''


class Entity(object):

    def __init__(self):
        pass

    def to_json(self):
        return self.__dict__

    def load_json(self, data):
        if not isinstance(data, dict):
            return


